Integrand size = 10, antiderivative size = 13 \[ \int \sqrt {a \cos ^2(x)} \, dx=\sqrt {a \cos ^2(x)} \tan (x) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3286, 2717} \[ \int \sqrt {a \cos ^2(x)} \, dx=\tan (x) \sqrt {a \cos ^2(x)} \]
[In]
[Out]
Rule 2717
Rule 3286
Rubi steps \begin{align*} \text {integral}& = \left (\sqrt {a \cos ^2(x)} \sec (x)\right ) \int \cos (x) \, dx \\ & = \sqrt {a \cos ^2(x)} \tan (x) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00 \[ \int \sqrt {a \cos ^2(x)} \, dx=\sqrt {a \cos ^2(x)} \tan (x) \]
[In]
[Out]
Time = 0.82 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.15
method | result | size |
default | \(\frac {a \cos \left (x \right ) \sin \left (x \right )}{\sqrt {a \left (\cos ^{2}\left (x \right )\right )}}\) | \(15\) |
risch | \(-\frac {i \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}\, {\mathrm e}^{2 i x}}{2 \left ({\mathrm e}^{2 i x}+1\right )}+\frac {i \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}{2 \,{\mathrm e}^{2 i x}+2}\) | \(67\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.15 \[ \int \sqrt {a \cos ^2(x)} \, dx=\frac {\sqrt {a \cos \left (x\right )^{2}} \sin \left (x\right )}{\cos \left (x\right )} \]
[In]
[Out]
Time = 0.23 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.15 \[ \int \sqrt {a \cos ^2(x)} \, dx=\frac {\sqrt {a \cos ^{2}{\left (x \right )}} \sin {\left (x \right )}}{\cos {\left (x \right )}} \]
[In]
[Out]
none
Time = 0.37 (sec) , antiderivative size = 6, normalized size of antiderivative = 0.46 \[ \int \sqrt {a \cos ^2(x)} \, dx=\sqrt {a} \sin \left (x\right ) \]
[In]
[Out]
none
Time = 0.38 (sec) , antiderivative size = 9, normalized size of antiderivative = 0.69 \[ \int \sqrt {a \cos ^2(x)} \, dx=\sqrt {a} \mathrm {sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right ) \]
[In]
[Out]
Time = 14.48 (sec) , antiderivative size = 46, normalized size of antiderivative = 3.54 \[ \int \sqrt {a \cos ^2(x)} \, dx=\frac {\sqrt {2}\,\sqrt {a}\,\sqrt {\cos \left (2\,x\right )+1}\,\left (\cos \left (2\,x\right )-1+\sin \left (2\,x\right )\,1{}\mathrm {i}\right )}{2\,\left (\cos \left (2\,x\right )\,1{}\mathrm {i}-\sin \left (2\,x\right )+1{}\mathrm {i}\right )} \]
[In]
[Out]